﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007FB RID: 2043
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueScoreRewardInfoScRsp : IMessage<GetRogueScoreRewardInfoScRsp>, IMessage, IEquatable<GetRogueScoreRewardInfoScRsp>, IDeepCloneable<GetRogueScoreRewardInfoScRsp>, IBufferMessage
	{
		// Token: 0x170019ED RID: 6637
		// (get) Token: 0x06005B96 RID: 23446 RVA: 0x000F593B File Offset: 0x000F3B3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueScoreRewardInfoScRsp> Parser
		{
			get
			{
				return GetRogueScoreRewardInfoScRsp._parser;
			}
		}

		// Token: 0x170019EE RID: 6638
		// (get) Token: 0x06005B97 RID: 23447 RVA: 0x000F5942 File Offset: 0x000F3B42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueScoreRewardInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170019EF RID: 6639
		// (get) Token: 0x06005B98 RID: 23448 RVA: 0x000F5954 File Offset: 0x000F3B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueScoreRewardInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005B99 RID: 23449 RVA: 0x000F595B File Offset: 0x000F3B5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueScoreRewardInfoScRsp()
		{
		}

		// Token: 0x06005B9A RID: 23450 RVA: 0x000F5964 File Offset: 0x000F3B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueScoreRewardInfoScRsp(GetRogueScoreRewardInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.info_ = ((other.info_ != null) ? other.info_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005B9B RID: 23451 RVA: 0x000F59B0 File Offset: 0x000F3BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueScoreRewardInfoScRsp Clone()
		{
			return new GetRogueScoreRewardInfoScRsp(this);
		}

		// Token: 0x170019F0 RID: 6640
		// (get) Token: 0x06005B9C RID: 23452 RVA: 0x000F59B8 File Offset: 0x000F3BB8
		// (set) Token: 0x06005B9D RID: 23453 RVA: 0x000F59C0 File Offset: 0x000F3BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170019F1 RID: 6641
		// (get) Token: 0x06005B9E RID: 23454 RVA: 0x000F59C9 File Offset: 0x000F3BC9
		// (set) Token: 0x06005B9F RID: 23455 RVA: 0x000F59D1 File Offset: 0x000F3BD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueScoreRewardInfo Info
		{
			get
			{
				return this.info_;
			}
			set
			{
				this.info_ = value;
			}
		}

		// Token: 0x06005BA0 RID: 23456 RVA: 0x000F59DA File Offset: 0x000F3BDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueScoreRewardInfoScRsp);
		}

		// Token: 0x06005BA1 RID: 23457 RVA: 0x000F59E8 File Offset: 0x000F3BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueScoreRewardInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.Info, other.Info) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005BA2 RID: 23458 RVA: 0x000F5A38 File Offset: 0x000F3C38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.info_ != null)
			{
				num ^= this.Info.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005BA3 RID: 23459 RVA: 0x000F5A8D File Offset: 0x000F3C8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005BA4 RID: 23460 RVA: 0x000F5A95 File Offset: 0x000F3C95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005BA5 RID: 23461 RVA: 0x000F5AA0 File Offset: 0x000F3CA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.info_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.Info);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005BA6 RID: 23462 RVA: 0x000F5AFC File Offset: 0x000F3CFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.info_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Info);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005BA7 RID: 23463 RVA: 0x000F5B54 File Offset: 0x000F3D54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueScoreRewardInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.info_ != null)
			{
				if (this.info_ == null)
				{
					this.Info = new RogueScoreRewardInfo();
				}
				this.Info.MergeFrom(other.Info);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005BA8 RID: 23464 RVA: 0x000F5BBC File Offset: 0x000F3DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005BA9 RID: 23465 RVA: 0x000F5BC8 File Offset: 0x000F3DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.info_ == null)
					{
						this.Info = new RogueScoreRewardInfo();
					}
					input.ReadMessage(this.Info);
				}
			}
		}

		// Token: 0x04002374 RID: 9076
		private static readonly MessageParser<GetRogueScoreRewardInfoScRsp> _parser = new MessageParser<GetRogueScoreRewardInfoScRsp>(() => new GetRogueScoreRewardInfoScRsp());

		// Token: 0x04002375 RID: 9077
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002376 RID: 9078
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04002377 RID: 9079
		private uint retcode_;

		// Token: 0x04002378 RID: 9080
		public const int InfoFieldNumber = 1;

		// Token: 0x04002379 RID: 9081
		private RogueScoreRewardInfo info_;
	}
}
